package com.jiehoo.utils.io.filter;

import java.io.*;

public class DirectoryFilter extends CombineFileFilter {
	public DirectoryFilter() {
		super(SWING);
	}

	public DirectoryFilter(int type) {
		super(type);
	}

	protected boolean acceptFile(File file) {
		return file.isDirectory();
	}

	public String getDescription() {
		return "Directories";
	}

}